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C2G,EAA8BjF,IAC7B,GAAAxE,EAAAC,GAAA,EAACyJ,EAAAA,CAAQA,CAAAA,CAAaD,QAASA,GAAhBjF,aASjC,qCC1rBO,SAASiE,EAAiBkB,CAAW,EAE1C,GAAI,CAACA,EACH,OAEF,IAAMC,EAAkBD,EAAYpH,OAAO,CACzC,sCACA,iCAGF,OAAOqH,CACT,kCAEAC,EAAAC,EAAA,CA5CA,SAAqBH,CAAW,EAE9B,IAAMC,EAAkBD,EAAYpH,OAAO,CACzC,sCACA,gCAIIwH,EAAkBH,MAAAA,EAAAA,KAAAA,EAAAA,EAAiBrH,OAAO,CAC9C,gEACA,gBAGF,OAAOwH,CACT,sCCdO,SAASC,EAAiBC,CAAgB,EAE/C,IAAMC,EACJD,EAASE,MAAM,CAAC,OAAS,GAAKF,EAAS1H,OAAO,CAAC,MAAO,OAAS0H,EAC3DG,EAAUF,EAAaG,KAAK,CAAC,WAG7BC,EAAe,GAAqCF,MAAAA,CAAlCA,CAAO,CAAC,EAAE,CAAC,yBAAkCtJ,MAAA,CAAXsJ,CAAO,CAAC,EAAE,EAGpE,OAAOE,CACT,CACO,SAASC,EAAiB5F,CAAW,EAS1C,OAAOA,CACT","sources":["webpack://_N_E/?2ce9","webpack://_N_E/./components/BlogHero/BlogHero.tsx","webpack://_N_E/./utils/getHeadings.js","webpack://_N_E/./components/Blogs/blog/MoreProducts.tsx","webpack://_N_E/./pages/blog/[slug].tsx","webpack://_N_E/./utils/trip-sheppered-text.js","webpack://_N_E/./utils/videoLinkOptimize.ts","webpack://_N_E/./node_modules/swiper/modules/a11y/a11y.min.css","webpack://_N_E/./node_modules/swiper/modules/lazy/lazy.min.css","webpack://_N_E/./node_modules/swiper/modules/thumbs/thumbs.min.css","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/blog/[slug]\",\n function () {\n return require(\"private-next-pages/blog/[slug].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/blog/[slug]\"])\n });\n }\n ","import styled from 'styled-components';\nimport Image from 'next/image';\nimport dayjs from 'dayjs';\n\ninterface IProps {\n title: string;\n snippet: string;\n media: any;\n slug: string;\n}\nconst BlogHero = ({ title, snippet, media, slug }: IProps): JSX.Element => {\n const BlogHero = styled.div`\n height: 55vh;\n position: relative;\n display: flex;\n `;\n const StyledImage = styled(Image)`\n z-index: 0;\n `;\n return (\n <>\n {slug === 'see-sight-tours-becomes-tripshepherd' ? (\n
\n \n \n \n
\n

\n Tripshepherd\n

\n

\n The Evolution of See Sight Tours\n

\n
\n \n \n
\n

{title}

\n
\n
\n
\n ) : (\n
\n \n \n \n
\n

\n {title}\n

\n {/*
\n

{snippet}

\n

{`By: ${author}`}

\n

{publicationDate}

\n
*/}\n
\n
\n
\n )}\n \n );\n};\n\nexport default BlogHero;\n","function getHeadings(str) {\n const headingRegex = /(.+?)<\\/h[1-3]>/gi;\n\n let matches = null;\n const headings = {};\n let currentHeading = null;\n let idCounter = 0;\n let htmlWithIds = str;\n\n while ((matches = headingRegex.exec(str))) {\n const level = parseInt(matches[1], 10);\n const text = matches[2].trim().replace(/<\\/?[^>]+>/gi, '');\n const id = `heading-${++idCounter}`;\n\n const heading = { level, text: text.trim(), id, subheadings: [] };\n\n if (level === 2) {\n headings[id] = heading;\n currentHeading = heading;\n } else if (level === 3 && currentHeading) {\n currentHeading.subheadings.push(heading);\n }\n\n htmlWithIds = htmlWithIds.replace(\n matches[0],\n `${text}`\n );\n }\n\n const headingsArray = Object.values(headings).map(heading => {\n if (heading.subheadings.length > 0) {\n heading.subheadings = Object.values(heading.subheadings);\n }\n return heading;\n });\n\n return { headings: headingsArray, htmlWithIds };\n}\n\nexport function findAndFilterDuplicates(headings) {\n if (headings === undefined) return { duplicates: [], filteredHeadings: [] };\n const seenHeadings = new Set();\n const filteredHeadings = [];\n\n for (const heading of headings) {\n const textWithoutEntities = heading.text.replace(/&[^\\s;]+;/g, '');\n if (!seenHeadings.has(textWithoutEntities)) {\n filteredHeadings.push(heading);\n seenHeadings.add(textWithoutEntities);\n }\n }\n\n return filteredHeadings;\n}\n\nexport function scrollToBlogElement(elementId) {\n const element = document.getElementById(elementId);\n\n if (element) {\n const yOffset = element.getBoundingClientRect().top + window.pageYOffset;\n const targetY = yOffset - 100;\n\n window.scrollTo({ top: targetY, behavior: 'smooth' });\n }\n}\n\nexport default getHeadings;\n","import Image from 'next/image';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport SwiperCore, {\n Autoplay,\n Navigation,\n A11y,\n Lazy,\n EffectFade,\n Pagination\n} from 'swiper';\nimport 'swiper/css';\nimport 'swiper/css/lazy';\nimport 'swiper/css/a11y';\n\nimport 'swiper/css/pagination';\nimport 'swiper/css/thumbs';\nimport 'swiper/css/effect-fade';\nimport styled from 'styled-components';\n\nSwiperCore.use([Autoplay, Navigation, Pagination, Lazy, A11y, EffectFade]);\n\ninterface IProps {\n relatedProducts: Record;\n}\nconst ImageWrapper = styled.div`\n position: relative;\n flex: none;\n width: 40%;\n height: 100%;\n aspect-ratio: 1/1;\n border-radius: 0.5rem;\n overflow: hidden !important;\n`;\nconst SwiperStyle = styled(Swiper)`\n .swiper-wrapper {\n padding-bottom: 1.5rem;\n }\n`;\nconst MoreProducts = ({ relatedProducts }: IProps) => {\n return (\n <>\n \n {relatedProducts?.map((item: Record, index: number) => (\n \n
\n \n \n \n\n
\n

\n {item.name}\n

\n

\n ${item.price}\n

\n
\n
\n
\n ))}\n \n \n );\n};\n\nexport default MoreProducts;\n","import React, { startTransition, useContext, useEffect, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport Link from 'next/link';\nimport Head from 'next/head';\n\nimport dayjs from 'dayjs';\nimport styled from 'styled-components';\nimport { gql } from '@apollo/client';\nimport { BLOG_PAGE, BLOG_PAGE_INTERFACE } from '../../api/blogPage';\nimport client from '../../apollo-client';\nimport Image from 'next/image';\nimport BlogHero from '../../components/BlogHero/BlogHero';\nimport getHeadings, { scrollToBlogElement } from '../../utils/getHeadings';\nconst MARKDOWN = dynamic(() => import('../../utils/react-markdown'));\nconst ArticleMobile = dynamic(\n () => import('../../components/Blogs/blog/ArticleMob')\n);\nconst ArticleDesk = dynamic(\n () => import('../../components/Blogs/blog/ArticleDesk')\n);\nimport TourCard from '../../components/Tour/tourCard';\n\nimport MoreProducts from '../../components/Blogs/blog/MoreProducts';\n\nimport { PaxContext } from '../../utils/context/checkoutContext';\n\nimport replaceText, { replaceCanonical } from '../../utils/trip-sheppered-text';\n\ninterface Params {\n params: {\n slug: string;\n };\n}\n\ninterface BLOGS {\n blogs: [\n {\n slug: string;\n }\n ];\n}\nconst BLOGPAGE = styled.div`\n width: 90%;\n line-height: 1.8rem;\n @media (max-width: 1024px) {\n width: 100%;\n }\n padding-top: 2rem;\n a {\n color: #38bdf8;\n text-decoration: underline;\n }\n h3 {\n text-align: left;\n }\n @keyframes slideInFromLeft {\n 0% {\n transform: translateX(-100%);\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }\n\n // Element that will have the slide-in effect\n .slide-in {\n animation: slideInFromLeft 0.5s forwards;\n }\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n background: white;\n position: relative;\n min-height: 100vh;\n align-items: flex-start;\n text-align: start;\n gap: 0.4rem;\n\n img {\n width: 100%;\n height: auto;\n max-width: 100%;\n max-height: 60vh;\n object-fit: contain;\n object-position: center center;\n border-radius: 10px;\n margin: 5px 0px;\n }\n .landscape-full {\n width: 100%;\n img {\n min-width: 100% !important;\n height: 60vh !important;\n object-fit: cover;\n object-position: center center;\n /* Additional styling for landscape images */\n }\n }\n .landscape-half {\n width: 100%;\n img {\n width: 50% !important;\n object-fit: cover;\n object-position: center center;\n /* Additional styling for landscape images */\n }\n }\n .landscape-70 {\n width: 100%;\n img {\n width: 50% !important;\n @media (min-width: 700) {\n max-height: 30vh;\n }\n object-fit: cover;\n object-position: center center;\n /* Additional styling for landscape images */\n }\n }\n\n .portrait-limit-height {\n width: 100%;\n img {\n max-height: 70vh !important;\n object-fit: contain;\n object-position: center center;\n /* Additional styling for portrait images */\n }\n }\n br {\n display: none;\n }\n\n padding-bottom: 3rem;\n padding-top: 3rem;\n h2 {\n font-size: 28px;\n padding-top: 1rem;\n\n font-weight: 500;\n width: 100%;\n }\n h3 {\n font-size: 24px;\n padding-top: 1rem;\n font-weight: 500;\n width: 100%;\n }\n h4 {\n font-size: 22px;\n padding-top: 1rem;\n font-weight: 500;\n width: 100%;\n }\n p {\n font-size: 18px;\n color: black;\n padding-bottom: 0.5rem;\n text-align: left;\n @media (min-width: 426px) {\n text-align: justify;\n hyphens: auto;\n }\n }\n @media (max-width: 1200px) {\n padding: 0rem 5%;\n }\n @media (max-width: 700px) {\n padding: 0 4%;\n h2 {\n font-size: 22px;\n\n font-weight: 500;\n }\n h3 {\n font-size: 20px;\n\n font-weight: 500;\n }\n h4 {\n font-size: 18px;\n\n font-weight: 500;\n }\n\n p {\n font-size: 16px;\n }\n }\n .center {\n width: 100%;\n justify-content: center;\n display: flex;\n align-items: center;\n }\n .author-section {\n width: 100%;\n min-height: 15vh;\n padding: 2rem;\n display: flex;\n gap: 1rem;\n box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;\n @media (max-width: 1000px) {\n flex-direction: column;\n gap: 1px;\n }\n img {\n padding-top: 25px;\n height: 50%;\n border-radius: 100%;\n max-width: 10%;\n }\n .author-description {\n align-items: center;\n gap: 5rem;\n width: 90%;\n position: relative;\n h3 {\n font-weight: 500;\n color: rgb(57, 216, 221);\n letter-spacing: 1px;\n font-size: 30px;\n @media (max-width: 500px) {\n letter-spacing: 0px;\n }\n }\n p {\n color: rgb(130, 145, 146);\n font-size: 20px;\n }\n }\n }\n .cta-two-tone {\n background-image: url('https://res.cloudinary.com/see-sight-tours/image/upload/w_600/v1684227123/banner-background_mp3bnq.webp');\n max-width: 600px;\n padding: 1rem 5%;\n margin: 1rem auto;\n aspect-ratio: 10/4 !important;\n background-size: cover;\n background-position: center;\n height: auto;\n gap: 0.5rem;\n justify-content: start;\n display: flex;\n align-items: start;\n justify-content: space-evenly;\n br {\n display: none;\n }\n @media (max-width: 700px) {\n width: 100%;\n background-position: center;\n background-size: cover;\n\n aspect-ratio: 5/1;\n min-height: 180px;\n justify-content: space-evenly;\n\n br {\n display: none;\n }\n }\n min-height: 220px;\n border-radius: 20px;\n\n display: flex;\n flex-direction: column;\n\n p {\n margin-top: 1rem;\n color: white;\n font-size: 28px;\n padding: 0rem 1rem;\n text-align: center;\n\n position: relative;\n @media (max-width: 900px) {\n text-align: center;\n font-size: 21px;\n }\n @media (max-width: 500px) {\n margin-top: 0;\n text-align: center;\n\n font-size: 20px;\n }\n }\n .button-container {\n width: 100%;\n display: flex;\n background-position: center;\n justify-content: center;\n position: relative;\n height: 100%;\n align-items: center;\n border-radius: 0px 0px 20px 20px;\n @media (max-width: 900px) {\n font-size: 18px;\n align-items: center;\n }\n @media (max-width: 500px) {\n max-height: 20%;\n align-items: center;\n }\n a {\n position: relative;\n background: #fd5d5a;\n border-radius: 20px;\n width: 45%;\n padding: 0.5rem 0rem;\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n text-align: center;\n color: white !important;\n font-size: 21px;\n font-weight: bold;\n @media (max-width: 550px) {\n width: 60%;\n font-size: 18px;\n padding: 0.5rem 0rem;\n }\n &:hover {\n background: #fd3f3c;\n }\n }\n }\n }\n`;\nconst BLOG_CARD = styled(Link)`\n display: flex;\n gap: 4;\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 80px;\n width: 90%;\n\n @media (min-width: 1024px) and (max-width: 1360px) {\n width: 100%;\n }\n align-items: center;\n justify-content: start;\n text-decoration: none !important;\n color: black !important;\n\n img {\n border-radius: 10px;\n width: 100px;\n height: 100px;\n min-width: 130px;\n margin-right: 10px;\n\n @media (min-width: 1024px) and (max-width: 1360px) {\n min-width: 100px;\n }\n }\n .details {\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n height: 100%;\n .name {\n font-size: 16px;\n font-weight: 500;\n overflow: hidden;\n text-overflow: ellipsis;\n height: 75px;\n @media (max-width: 1172px) {\n width: 70px;\n }\n }\n .price {\n font-weight: 300;\n font-size: 14px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n`;\nconst ImageWrapper = styled.div`\n position: relative;\n flex: none;\n width: 45%;\n height: 100%;\n aspect-ratio: 1/1;\n @media (max-width: 570px) {\n width: 35%;\n }\n`;\nexport async function getStaticPaths() {\n const { data } = await client.query({\n query: gql`\n query BLOGS_PAGE($date: timestamptz!) {\n blogs: strapi_blogs(where: { published_at: { _lte: $date } }) {\n slug\n }\n }\n `,\n variables: {\n date: dayjs().format('YYYY-MM-DD')\n }\n });\n\n if (process.env.NEXT_PUBLIC_MODE === 'DEV') {\n return {\n paths: data.blogs.slice(0, 1).map(blog => {\n return { params: { slug: blog.slug.toString() } };\n }),\n fallback: 'blocking'\n };\n }\n\n return {\n paths: data.blogs.map(blog => {\n return { params: { slug: blog.slug.toString() } };\n }),\n fallback: 'blocking'\n };\n}\nexport async function getStaticProps({ params }: Params) {\n const { slug } = params;\n\n const { data } = await client.query({\n query: BLOG_PAGE,\n variables: {\n slug\n }\n });\n\n if (!data.blogs[0]) {\n return {\n redirect: {\n statusCode: 301,\n destination: '/404'\n }\n };\n }\n return {\n props: {\n blogs:\n slug !== 'see-sight-tours-becomes-tripshepherd'\n ? JSON.parse(replaceText(JSON.stringify(data.blogs)))\n : data.blogs\n }\n };\n}\n\nconst Blog = ({ blogs }: BLOG_PAGE_INTERFACE) => {\n const [relProd, setRelProd] = useState>([]);\n\n const [openToc, setOpenToc] = useState(false);\n\n const blogSchema =\n blogs && blogs.length > 0\n ? {\n '@context': 'https://schema.org',\n '@type': 'BlogPosting',\n headline: blogs[0]?.pageTitle ? blogs[0]?.pageTitle : '',\n image: blogs[0]?.heroMedia.map(item => item?.url),\n datePublished: blogs[0]?.publicationDate,\n dateModified: blogs[0]?.publicationDate,\n author: [\n {\n '@type': 'Person',\n name: blogs[0]?.author,\n url: blogs[0]?.canonical\n }\n ],\n articleBody: blogs[0]?.snippet\n }\n : {};\n\n //@ts-ignore\n const { updateBlogCity } = useContext(PaxContext);\n\n useEffect(() => {\n if (blogs)\n startTransition(() => {\n if (blogs[0]?.relatedProducts[0]) {\n setRelProd(blogs[0]?.relatedProducts);\n }\n });\n }, [blogs[0]?.relatedProducts]);\n\n useEffect(() => {\n const elements = document.querySelectorAll('.button-container');\n const elements2 = document.querySelectorAll('.cta-two-tone');\n elements2.forEach(element => {\n if (element) {\n element.classList.add('animate-pulse');\n element.classList.add('animate-twice');\n }\n });\n //@ts-ignore\n elements.forEach(element => {\n element.addEventListener('click', async () => {\n await window.gtag('event', 'cta_click', {\n category: 'interaction',\n action: 'button click',\n label: 'button-container'\n });\n });\n });\n\n if (window.innerWidth > 1500) {\n setOpenToc(true);\n }\n if (blogs[0].relatedProducts[0]) {\n updateBlogCity(blogs[0]?.relatedProducts[0]?.cities[0]?.slug);\n }\n }, []);\n if (!blogs) {\n return

loading

;\n }\n const filteredContent =\n blogs &&\n blogs[0]?.content\n ?.replace(/^### (.*$)/gim, '

$1

')\n ?.replace(/^## (.*$)/gim, '

$1

')\n ?.replace(/^# (.*$)/gim, '

$1

')\n ?.replace(/^\\> (.*$)/gim, '
$1
')\n ?.replace(/\\*\\*(.*)\\*\\*/gim, '$1')\n ?.replace(/\\*(.*)\\*/gim, '$1')\n ?.replace(/!\\[(.*?)\\]\\((.*?)\\)/gim, \"$1\")\n ?.replace(/\\[(.*?)\\]\\((.*?)\\)/gim, \"$1\")\n ?.replace(/\\n$/gim, '
')\n ?.trim();\n /* ('the filtered content', filteredContent);\n const h2Query = /

/g;\n const h2 = filteredContent.match(h2Query); */\n const content = getHeadings(filteredContent);\n return (\n <>\n \n \n \n {blogs[0]?.pageTitle ? blogs[0]?.pageTitle : ''}\n \n \n \n \n \n\n \n \n {blogs[0]?.relatedProducts[0] && (\n
\n

Keep Exploring

\n \n
\n )}\n\n \n \n {blogs[0]?.author}\n \n \n {blogs[0]?.publicationDate}\n \n \n {content.headings.length > 0 && (\n
\n \n
\n

\n Table of Contents\n

\n setOpenToc(!openToc)}\n className={`rotate-180 ${\n openToc && 'rotate-0'\n } cursor-pointer`}\n />\n
\n {openToc && (\n
\n {content.headings.map((item, index) => (\n \n \n {index + 1}.\n \n scrollToBlogElement(item.id)}\n className=\"cursor-pointer hover:text-blue-400 text-start text-[16px] font-[500px] hover:underline ml-1\"\n >\n {`${item.text.replace(/ $/, '')}`}\n \n {item.subheadings && (\n
\n {item.subheadings.map(\n (subitem: any, subindex: any) => (\n
\n {`${\n index + 1\n }.${subindex + 1}`}\n \n scrollToBlogElement(subitem.id)\n }\n className=\"cursor-pointer hover:text-blue-400 text-start text-xs md:text-sm font-light hover:underline ml-1\"\n >\n {`${subitem.text.replace(/ $/, '')}`}\n \n
\n )\n )}\n
\n )}\n
\n ))}\n
\n )}\n \n \n )}\n\n
\n \n \n \n\n {blogs[0]?.relatedProducts.length > 0 && (\n \n )}\n
\n \n {blogs[0]?.relatedArticles[0] && (\n \n
\n <>\n

\n Latest Articles\n

\n \n \n \n
\n \n )}\n {relProd?.length > 0 && (\n \n <>\n

\n Related Tours\n

\n
\n {blogs[0]?.relatedProducts.map(\n (product: Record, index: number) => (\n \n )\n )}\n
\n \n \n )}\n \n );\n};\n\nexport default Blog;\n","function replaceText(inputString) {\n // Replace \"https://www.seesight-tours.com\" with \"https://www.tripshepherd.com\"\n const replacedString1 = inputString.replace(\n /https:\\/\\/www\\.seesight-tours\\.com/g,\n 'https://www.tripshepherd.com'\n );\n\n // Replace \"See Sight Tours\", \"seesight\", and \"see sight\" with \"Trip Shepperd\"\n const replacedString2 = replacedString1?.replace(\n /See Sight Tours|See Sight Tour|Seesight Tours|Trip Shepperd/gi,\n 'Tripshepherd'\n );\n\n return replacedString2;\n}\nexport function replaceTripShepherd(inputString) {\n // Replace \"https://www.seesight-tours.com\" with \"http://trip-shepperd.com\"\n // const replacedString1 = inputString.replace(\n // /https:\\/\\/www\\.seesight-tours\\.com/g,\n // 'http://trip-shepperd.com'\n // );\n\n // Replace \"See Sight Tours\", \"seesight\", and \"see sight\" with \"Trip Shepperd\"\n const replacedString2 = inputString?.replace(\n /Tripshepherd/gi,\n 'See Sight Tours'\n );\n\n return replacedString2;\n}\n\nexport function replaceCanonical(inputString) {\n // Replace \"https://www.seesight-tours.com\" with \"http://trip-shepperd.com\"\n if (!inputString) {\n return;\n }\n const replacedString1 = inputString.replace(\n /https:\\/\\/www\\.seesight-tours\\.com/g,\n 'https://www.trip-shepperd.com'\n );\n\n return replacedString1;\n}\n\nexport default replaceText;\n","export function optimizeVideoUrl(videoUrl: string): string {\n // Build the Cloudinary transformation string\n const changeFormat =\n videoUrl.search('mp4') > -1 ? videoUrl.replace('mp4', 'mp4') : videoUrl;\n const newLink = changeFormat.split('/upload');\n\n // Generate the optimized video URL\n const optimizedUrl = `${newLink[0]}/upload/q_auto,w_500,${newLink[1]}`;\n\n // Return the optimized URL\n return optimizedUrl;\n}\nexport function optimizeImageUrl(url: string): string {\n //Build the Cloudinary transformation string\n\n /* const newLink = url.replace('jpeg', 'webp').split('/upload');\n\n // Generate the optimized video URL\n const optimizedUrl = `${newLink[0]}/upload/q_100,w_1000,${newLink[1]}`; */\n\n // Return the optimized URL\n return url;\n}\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin"],"names":["window","__NEXT_P","push","__webpack_require__","BlogHero_BlogHero","title","snippet","media","slug","param","BlogHero","styled","div","withConfig","StyledImage","Image","jsx_runtime","jsx","Fragment","section","className","jsxs","alt","src","layout","h1","h2","width","height","p","concat","scrollToBlogElement","elementId","element","document","getElementById","yOffset","getBoundingClientRect","top","pageYOffset","scrollTo","behavior","utils_getHeadings","str","headingRegex","matches","headings","currentHeading","idCounter","htmlWithIds","exec","level","parseInt","text","trim","replace","id","heading","subheadings","headingsArray","Object","values","map","length","SwiperCore","use","Autoplay","Navigation","Pagination","Lazy","A11y","EffectFade","ImageWrapper","SwiperStyle","Swiper","blog_MoreProducts","relatedProducts","slidesPerView","spaceBetween","grabCursor","pagination","dynamicBullets","loop","lazy","loadPrevNext","checkInView","breakpoints","item","index","SwiperSlide","cardMedia","url","fill","quality","name","price","MARKDOWN","dynamic","Promise","all","e","then","bind","ArticleMobile","ArticleDesk","BLOGPAGE","BLOG_CARD","Link","_slug_","blogs","relProd","setRelProd","useState","openToc","setOpenToc","blogSchema","headline","pageTitle","image","heroMedia","datePublished","publicationDate","dateModified","author","canonical","articleBody","updateBlogCity","useContext","PaxContext","useEffect","startTransition","elements","querySelectorAll","elements2","forEach","classList","add","addEventListener","gtag","category","action","label","innerWidth","cities","filteredContent","content","getHeadings","Head","meta","metaDescription","link","href","rel","replaceCanonical","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","header","subheader","MoreProducts","span","onClick","subitem","subindex","slice","relatedArticles","product","TourCard","inputString","replacedString1","__webpack_exports__","ZP","replacedString2","optimizeVideoUrl","videoUrl","changeFormat","search","newLink","split","optimizedUrl","optimizeImageUrl"],"sourceRoot":""}